using System;

using Outcoder.ComponentModel;

namespace Outcoder.Services.Implementation
{
	/* TODO: [DV] Comment. */
	public partial class LockScreenService
	{
		void InitializeWhenReady()
		{
			InitializeCore();
		}

		void InitializeCore()
		{
			var settingsService = Dependency.Resolve<ISettingsService, SettingsService>();

			if (settingsService.ContainsSetting(promptedKey))
			{
				UserPrompted = true;
			}

			RunningUnderLockScreenEnabled = settingsService.GetSetting(runningEnabledKey, false);

			/* TODO: detect lock screen engaged. */
		}

		void EnableRunningUnderLockScreen()
		{
			/* TODO: implement for Android. */
		}
	}
}